package com.kfm.spring.controller;


import com.kfm.spring.annotation.MyServlet;
import com.kfm.spring.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@MyServlet
public class HelloController {

    @RequestMapping(value = "/hello", method = "GET")
    public void hello(HttpServletRequest request, HttpServletResponse response){
        System.out.println("HelloController hello");
    }

    @RequestMapping(value = "/hello/delete", method = "GET")
    public void delete(HttpServletRequest request, HttpServletResponse response){
        System.out.println("HelloController delete");
    }

    @RequestMapping(value = "/hello/edit", method = "GET")
    public void edit(HttpServletRequest request, HttpServletResponse response){
        System.out.println("HelloController edit");
    }
}
